package com.eight.order.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.eight.order.dao.MemberDao;
import com.eight.order.pojo.Member;
import com.eight.order.service.MemberService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: qy8-education
 * @description:
 * @author: 郑友民（1460115388@qq.com）
 * @create: 2023-05-27 16:55
 **/
@Service
public class MemberServiceImpl implements MemberService {
    @Resource
    private MemberDao memberDao;

    @Override
    public Member queryAllMemberById(String memberId) {
        QueryWrapper<Member> wrapper = new QueryWrapper<>();
        wrapper.eq("id",memberId);
        Member member=memberDao.selectById(memberId);
        return member;
    }
}

